Skip to content

Conversation

@ansiz
Copy link
Contributor

@ansiz ansiz commented Apr 13, 2020

Describe what this PR does / why we need it

Add a new metricEvent so that we can use it in monitor mode

Does this pull request fix one issue?

NONE

Describe how you did it

Add a new metricEvent and related functions

Describe how to verify it

Special notes for reviews

@CLAassistant
Copy link

CLAassistant commented Apr 13, 2020

CLA assistant check
All committers have signed the CLA.

@sczyh30 sczyh30 merged commit 72ef758 into alibaba:special/metric-event Apr 13, 2020
@sczyh30 sczyh30 changed the title Special/metric event Sync special/metric-event branch Apr 21, 2020
ansiz pushed a commit to ansiz/sentinel-golang that referenced this pull request Dec 22, 2020
Support carrying additional attachments with sentinel.Entry(options) (alibaba#124)

* make EntryOptions support carrying attachment data
* make the `data` field of SentinelInput / SentinelOutput public and rename to `Attachments`

Add MetricEventMonitorBlock

Signed-off-by: Eric Zhao <[email protected]>

Polish MetricItem with monitor-block metric event (alibaba#127)

Sync special/metric-event branch with master (alibaba#136)

* make EntryOptions support storing custom data before Sentinel.Entry()
* make data of SentinelInput / SentinelOutput public & rename to attachment
* remove unnecessary check for slidingWindowMetric.intervalInMs
* Polish code of buildFlowMap in flow/rule_manager.go (alibaba#131)
* Remove unnecessary division checking for interval of SlidingWindowMetric (alibaba#134)

Co-authored-by: sdttttt <[email protected]>

Add max concurrency statistic data (alibaba#138)

Add support for getting max concurrency of the latest second (alibaba#140)

feat: add SecondMaxConcurrency field to MetricItem (alibaba#145)

feat: allow to disable metric log flush in runtime (alibaba#147)
sczyh30 pushed a commit that referenced this pull request Dec 22, 2020
Support carrying additional attachments with sentinel.Entry(options) (#124)

* make EntryOptions support carrying attachment data
* make the `data` field of SentinelInput / SentinelOutput public and rename to `Attachments`

Add MetricEventMonitorBlock

Signed-off-by: Eric Zhao <[email protected]>

Polish MetricItem with monitor-block metric event (#127)

Sync special/metric-event branch with master (#136)

* make EntryOptions support storing custom data before Sentinel.Entry()
* make data of SentinelInput / SentinelOutput public & rename to attachment
* remove unnecessary check for slidingWindowMetric.intervalInMs
* Polish code of buildFlowMap in flow/rule_manager.go (#131)
* Remove unnecessary division checking for interval of SlidingWindowMetric (#134)

Co-authored-by: sdttttt <[email protected]>

Add max concurrency statistic data (#138)

Add support for getting max concurrency of the latest second (#140)

feat: add SecondMaxConcurrency field to MetricItem (#145)

feat: allow to disable metric log flush in runtime (#147)
sczyh30 pushed a commit that referenced this pull request Dec 22, 2020
* sycn special branch commits

Support carrying additional attachments with sentinel.Entry(options) (#124)

* make EntryOptions support carrying attachment data
* make the `data` field of SentinelInput / SentinelOutput public and rename to `Attachments`

Add MetricEventMonitorBlock

Signed-off-by: Eric Zhao <[email protected]>

Polish MetricItem with monitor-block metric event (#127)

Sync special/metric-event branch with master (#136)

* make EntryOptions support storing custom data before Sentinel.Entry()
* make data of SentinelInput / SentinelOutput public & rename to attachment
* remove unnecessary check for slidingWindowMetric.intervalInMs
* Polish code of buildFlowMap in flow/rule_manager.go (#131)
* Remove unnecessary division checking for interval of SlidingWindowMetric (#134)

Co-authored-by: sdttttt <[email protected]>

Add max concurrency statistic data (#138)

Add support for getting max concurrency of the latest second (#140)

feat: add SecondMaxConcurrency field to MetricItem (#145)

feat: allow to disable metric log flush in runtime (#147)

* fix: fix broken test code

* hotspot_rule_add_paramKey

* concurrent processing(error group) for ExtractArgs Iteration

* refmt

* goimports

Co-authored-by: Liu Jing <[email protected]>
Co-authored-by: cafra <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants